<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="author" content="23ps" />
    <meta name="copyright" content="www.23ps.com" />
    <meta name="keywords" content="{dede:global.cfg_keywords/}" />
    <meta name="description" content="{dede:global.cfg_description/}" />
    <title>“{dede:global name='keyword' function='RemoveXSS(@me)'/}"搜索结果_{dede:global.cfg_webname/}</title>
    <link href="{dede:global.cfg_templets_skin/}/style/style.css" rel="stylesheet" type="text/css" />
    <link href="/rssfeed.xml" rel="alternate" type="application/rss+xml" title="图片处理教程网 RSS Feed" />
    <link href="/opensearch.xml" rel="search" type="application/opensearchdescription+xml" title="图片处理教程网" />
    <script src="{dede:global.cfg_templets_skin/}/js/jquery.js" type="text/javascript"></script>
</head>
<body class="listpage">

{dede:include filename="head.htm"/}
    <!-- /header -->
    <!-- content -->
    <div class="content clearfix">
        <div class="breadcrumbs"><a href="/">主页</a> &gt; 搜索 </div>
        <div class="left-sidebar">
            <div class="mod-box mod-category-list">
                <div class="mod-box-head">
                    <h4 class="title">热门关键词</h4>
                </div>
				<script type="text/javascript">
				$(document).ready(function(){
					
					$('#hotpost').load('/photoshop/tgjc/index.htm .mod-hot ul');
				
				});
                </script>                
                <div class="mod-box-body">
                    <ul class="clearfix">
                         <li><a href='/plus/search.php?q=Photoshop&searchtype=title'>Photoshop</a></li>
                         <li><a href='/plus/search.php?q=喜庆&searchtype=title'>喜庆</a></li>
                         <li><a href='/plus/search.php?q=磨皮&searchtype=title'>磨皮</a></li>
                         <li><a href='/plus/search.php?q=美白&searchtype=title'>美白</a></li>
                         <li><a href='/plus/search.php?q=美女&searchtype=title'>美女</a></li>
                         <li><a href='/plus/search.php?q=美丽&searchtype=title'>美丽</a></li>
                    </ul>
                </div>
                <div class="mod-box-foot">
                </div>
            </div>
            <!-- Category:END -->
        </div>
        <div class="main-col">
            <div class="mod-tab mod-post-list-1">
                <h4 class="title">搜索 <strong class="cred">{dede:global name='keyword' function='RemoveXSS(@me)'/}</strong> 的结果</h4>
                <div class="mod-tab-col">
                
                {dede:list pagesize='10'}
              		[field:global runphp='yes' name=autoindex]
                  	if (@me == 6) {
                    	$dsql = new dedesql();
                        $ad = $dsql->getOne("select * from ps_myad where tagname='AD-200x200x2'");
                  		@me = '<div class="post-in-ad clearfix">'.$ad['normbody'].'</div>';
                  	}else{
                  	    @me = '';
                  	}
                    [/field:global]
                    <div class="post clearfix" id="[field:id runphp='yes']
                        	 $dsql = new dedesql();
                        	 $id = @me;
                        	 $info = $dsql->getOne("select isfree from ps_addonarticle where aid=".$id);
                        	 if(empty($info['isfree'])){
                        	 	@me = '免费';
                        	 }else{
                        	 	@me = $info['isfree'];
                        	 }
                        	 if(@me == '免费'){
                        	 	@me = 'isfree_1';
                        	 }else{
                        	 	@me = 'isfree_0';
                        	 }
                        	[/field:id]">
                    	
                        
                        <span class="post-image"><a class="thumb" href="[field:arcurl/]"><img src="[field:litpic/]" onerror="this.src='/images/default.jpg'" /></a></span>
                        <h2 class="post-title">[field:textlink/]</h2>
						<p class="text">[field:description/]</p>
						<p class="info">
                        		[field:mid runphp='yes']
                                	$dsql = new dedesql();
                                	$mid = intval(@me);
                                	if($mid == 0) {
                                		$mid = 1;
                                	}
                                	$user = $dsql->getOne("select mid,userid,uname from ps_member where mid=".$mid);
                                	if(empty($user['userid'])){
                                		$username = $user['userid'] = 'admin';
                                	}else if(!empty($user['userid'])){
                                		$username = $user['userid'];
                                	}else{
                                		$username = $user['userid'];
                                	}
                                	@me = "<a href='/member/index.php?uid=".$user['userid']."'>".$username."</a>";
                                [/field:mid]
                        <span>|</span>
                        	[field:id runphp='yes']
                        	 $dsql = new dedesql();
                        	 $id = @me;
                        	 $info = $dsql->getOne("select isfree from ps_addonarticle where aid=".$id);
                        	 if(empty($info['isfree'])){
                        	 	@me = '免费';
                        	 }else{
                        	 	@me = $info['isfree'];
                        	 }
                        	[/field:id]
                        <span>|</span>[field:pubdate function="MyDate('Y-m-d',@me)"/]</p>
                    </div>
                
                {/dede:list}
                    
                    <div class="page-navi">
                        <div class="dede_pages">
                        <ul class="pagelist">
                        {dede:pagelist listitem="info,index,end,pre,next,pageno,option" listsize="3"/}
                        </ul>
                        </div>
                    </div>
                </div>
            </div>
            <!-- HomeNewPosts:END -->
        </div>
        <div class="right-sidebar">
            <div class="ad-300x250">
                {dede:myad name='AD-300x250x1'/}
            </div>
            <!-- ad-300x250:END -->
            <div class="mod-box mod-hot">
                <div class="mod-box-head">
                    <h4 class="title">最热门的教程</h4>
                </div>
                <div class="mod-box-body clearfix">
                    <ul id="hotpost">
                    </ul>
                </div>
                <div class="mod-box-foot">
                </div>
            </div>
            <!-- Ranking:END -->
            <div class="download"><a href="/download.htm"><img src="/templets/23ps/img/download.png" /></a></div>
        </div>
    </div>
    <!-- content end -->
{dede:include filename="footer.htm"/}
<!-- /footer -->
</body>
</html>
